/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef FILESELECTOR_H
#define FILESELECTOR_H
#include <wx/wx.h>
#include <vector>
#include <iostream>
#include <fstream>

using namespace std;

namespace alliance
{

class FileSelector:public wxDialog
{
public:
    FileSelector(const wxString& title,wxArrayString arr,wxString path_file,wxString LabelFileOut,
                 int TypeFile,string& FIn,string& FOut,wxString &F_outFormatWx);
    virtual ~FileSelector();
private:
    void OnOk(wxCommandEvent& event);
    void OnCancel(wxCommandEvent& event);
    wxStaticText *Instruction,*Instruction2;
    wxComboBox *files;
    wxButton *ButtonOk;
    wxButton *ButtonCancel;
    wxTextCtrl *FieldNameFileOut;
    wxString p_file;

    wxString m_inputFile;
    wxString m_outputFile;
    string *FI,*FO;
    wxString *p_fo;

    //DECLARE_EVENT_TABLE()
};

}


#endif // FILESELECTOR_H






/*

#ifndef FILESELECTOR_H
#define FILESELECTOR_H


#include <wx/wx.h>
#include <vector>
#include <iostream>
#include <fstream>


namespace alliance
{
class FileSelector:public wxDialog
{
public:
    FileSelector(const wxString& title,wxArrayString arr,wxString LabelFileOut,int TypeFile,string& FIn,string& FOut);
    virtual ~FileSelector();

private:
    void OnOk(wxCommandEvent& event);
    void OnCancel(wxCommandEvent& event);
    wxStaticText *Instruction,*Instruction2;
    wxComboBox *files;
    wxButton *ButtonOk;
    wxButton *ButtonCancel;
    wxTextCtrl *FieldNameFileOut;
    wxString m_inputFile;
    wxString m_outputFile;

    DECLARE_EVENT_TABLE()

};
}

#endif // FILESELECTOR_H

*/
